package vg.services.plugin_manager.event_and_request.request;

import vg.services.graph_view_manager.interfaces.tab.ATab;

/**
 * This request asks the decoders to add new tab.
 * @author tzolotuhin
 */

public class UIRequestAddTab extends AUIRequest {
	public final ATab tab;
	
	public UIRequestAddTab(ATab tab, IUIRequestOwner owner) {
		super(EUIRequestType.DEF_ADD_TAB, owner);
		this.tab = tab;
	}
	
	public UIRequestAddTab(ATab tab) {
		super(EUIRequestType.DEF_ADD_TAB, null);
		this.tab = tab;
	}
}
